Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft new sports betting demo #41

Merged
merged 12 commits into from
Nov 25, 2024
Merged

Draft new sports betting demo #41

merged 12 commits into from
Nov 25, 2024

Conversation

emile-00
Copy link
Contributor

Add draft for sports betting demo. No rush to merge, also experimenting with mintlify mdx formatting

Copy link

CI Check Failed

The CI check for spelling has failed. Please review the errors and correct any spelling mistakes.

For more errors and details, you can check the CI Log or you can install typos and run typos locally to check for and fix spelling issues.

@emile-00 emile-00 marked this pull request as ready for review November 21, 2024 00:45
Copy link
Member

@stdrc stdrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content LGTM.

demos/betting-behavior-analysis.mdx Outdated Show resolved Hide resolved

To keep this demo simple, a Python script is used to generate and insert data into the tables created above.

Navigate to the [user_betting_behavior](https://github.com/risingwavelabs/awesome-stream-processing) folder in the [awesome-stream-processing](https://github.com/risingwavelabs/awesome-stream-processing) and run the `data_generator.py` file. This Python script utilizes the `psycopg2` library to establish a connection with RisingWave so you can generate and insert synthetic data into the tables `user_profiles`, `betting_history`, and `positions`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we directly link to the folder instead of repository root https://github.com/risingwavelabs/awesome-stream-processing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The folders haven't been merged to the repository yet so the root folder is a place holder for now

demos/betting-behavior-analysis.mdx Outdated Show resolved Hide resolved
demos/betting-behavior-analysis.mdx Outdated Show resolved Hide resolved
demos/betting-behavior-analysis.mdx Outdated Show resolved Hide resolved
demos/sports-risk-profit-analysis.mdx Outdated Show resolved Hide resolved

To keep this demo simple, a Python script is used to generate and insert data into the tables created above.

Navigate to the [position_risk_management](https://github.com/risingwavelabs/awesome-stream-processing) folder in the [awesome-stream-processing](https://github.com/risingwavelabs/awesome-stream-processing) and run the `data_generator.py` file. This Python script utilizes the `psycopg2` library to establish a connection with RisingWave so you can generate and insert synthetic data into the tables `positions` and `market_data`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

demos/sports-risk-profit-analysis.mdx Outdated Show resolved Hide resolved
demos/sports-risk-profit-analysis.mdx Outdated Show resolved Hide resolved
demos/sports-risk-profit-analysis.mdx Outdated Show resolved Hide resolved
emile-00 and others added 7 commits November 22, 2024 08:50
Co-authored-by: Richard Chien <stdrc@outlook.com>
Signed-off-by: emile-00 <106993396+emile-00@users.noreply.github.com>
Co-authored-by: Richard Chien <stdrc@outlook.com>
Signed-off-by: emile-00 <106993396+emile-00@users.noreply.github.com>
Co-authored-by: Richard Chien <stdrc@outlook.com>
Signed-off-by: emile-00 <106993396+emile-00@users.noreply.github.com>
@WanYixian WanYixian merged commit f00d7b6 into main Nov 25, 2024
2 checks passed
@WanYixian WanYixian deleted the add-sports-bet-demo branch November 25, 2024 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants